#!/usr/bin/python
# -*- coding: UTF-8 -*-

#! encoding = utf-8

from lib.base import Douyin
from lib.func import reportServer
import sys

def start(device_id):
    self = Douyin(device_id)
    self.unlock()
    self.sleep(1)
    self.press_home()
    self.sleep(1)
    self.app_stop_all()

if __name__ == "__main__":
    device_id = sys.argv[1]
    start(device_id)